

				<link rel="stylesheet" href="__PUBLIC__/Shop/common.css">
				<link rel="stylesheet" href="__PUBLIC__/Shop/index.css">

				<link rel="stylesheet" href="__PUBLIC__/Shop/layer.css" id="layui_layer_skinlayercss" style="">
				<link rel="stylesheet" href="__PUBLIC__/Shop/layer.ext.css" id="layui_layer_skinlayerextcss" style="">
				<include file="Public:header" />
                <!-- start: content-body -->
                <section role="main" class="content-body">
                    <header class="page-header">
                    </header>
                    <div class="row">
						<header class="col-md-12 panel-heading">
							<div class="col-md-6">
								<h2 class="panel-title">消费商城</h2>
							</div>
							<div class="col-md-6">
								<h2 class="panel-title">{$pay_currency['name']}余额：{$user_money[$pay_currency['id']]['num']}</h2>
							</div>
						</header>
                        <section class="panel">
							<div class="wst-clear"></div>
							<!--8.24 新加css样式5-->
							<style>.wst-fl-right ul{float: right;}</style>
							<!--./8.24 新加css样式5-->
							<div class="">
								<!-------------F1层---------------->
								<div class="wst-floor">
									<div class="wst-fl-right">
										<div class="wst-fl-nvg1" style="width:100%;">
											<ul>
												<li id="fl_1_0" class="wst-fl-tab">精品推荐</li></ul>
										</div>
										<div style="background-color:#fff;">
											<volist name="list['content']" id="vo">
												<div id="fl_1_0_pl" class="wst-goods-container">
													<li class="wst-goodsbox">
														<div class="wst-goods-thumb">
															<a href="">
															<img class="lazyImg" width="180" src="{$vo['image']}"></a>
														</div>
														<div class="wst-goods-thumb-des">
															<div class="goodsname">
																<a class="wst-goods-name" href="">{$vo['name']}</a>
															</div>
															<div>
																<em class="wst-left wst-goods-price" id="shopGoodsPrice_21443" dataid="169584">${$vo['money']}</em>
																<a href="javascript:addCart({$vo['id']})" class="wst-right ">
																	<img src="__PUBLIC__/Shop/btn_addcart.png" width="85"></a>
																<div class="wst-clear"></div>
															</div>
														</div>
													</li>
												</div>
											</volist>
											
											<script>
													function addCart(id){
													layer.confirm('是否加入购物车？', {
													  btn: ['确认','取消'] //按钮
													}, function(){
														$.ajax({
															 type: "POST",
															 url: "{:U('Shop/addShoppingCart')}",
															 data: {'id':id},
															 dataType: "json",
															 error: function(request) {
																layer.closeAll('loading');
																layer.msg("{$Think.lang.系统繁忙请稍后再试}");
															},
															beforeSend: function() {
																var index = layer.load(1, {
																  shade: [0.1,'#fff'] 
																});
															},
															 success: function(data){
																	layer.closeAll('loading');
																	layer.msg(data['info']);
																	if(data['status']==true){
																		setTimeout(history.go(0),1000);
																	}
																}
														});
													});
												};					
											</script>
										<div class="wst-clear"></div>
										</div>
									</div>
								</div>
								<link rel="stylesheet" type="text/css" href="__PUBLIC__/Shop/cart.css">
								<div class="mui-mbar-tabs">
									<div class="quick_links_wrap">
										<div class="quick_link_mian">
											<div class="quick_links_panel">
												<div id="quick_links" class="quick_links">
													<li id="userHeader">
														<a href="" class="my_qlinks" style="margin-top: 5px;">
															<i class="setting"></i>
														</a>
														<div class="ibar_login_box status_login"></div>
													</li>
													<li id="shopCart">
														<a href="{:U('Shop/shoppingCart')}" class="message_list">
															<i class="message"></i>
															<div class="span">购物车</div>
															<span class="cart_num"><?php echo count($_SESSION['cart']) ?></span></a>
													</li>
												</div>
											</div>
											<div id="quick_links_pop" class="quick_links_pop hide"></div>
										</div>
									</div>
								</div>
							</div>
                        </section>
                    <!-- end: page -->
					</div>
                </section>
<include file="Public:footer" />